package com.yh.correct.service;


import java.util.List;
import java.util.Map;

import com.yh.correct.model.Page;
import com.yh.correct.model.Register;
	/**
	 * 服刑人员报到信息service接口
	 * 
	 * @author Administrator
	 *
	 */

public interface IRegisterService {
	/**
	 * 增加服刑人员报到信息
	 *
	 */
	public int addRegister(Register register) throws Exception;
	/**
	 * 删除服刑人员报到信息
	 * 
	 */
	public int delRegister(int id) throws Exception;
	/**
	 * 修改服刑人员报到信息
	 */
	public int editRegister(Register register) throws Exception;
	/**
	 *@author Administrator
	 *@注释 : 查询单个报道信息
     *	
    */
	public Map<String,Object> getIdRegister(int id) throws Exception;
	/**
	 *@author Administrator
	 *@注释 : 查询所有
*	
*/
	List<Map<String,Object>> getAllRegister() throws Exception;
	
	/**
	 * 
	 * 模糊查询服刑人员报道信息
	 */
	public Page getLikeRegister(Map<String,Object> register) throws Exception;

}
